package com.bean;

import java.util.List;

public class TestBean {


    /**
     * code : 1
     * msg : 请求成功
     * time : 1594371738
     * data : [{"id":1,"name":"记忆力测试","image":"https://oss.bigchun.com/fastmemory/uploads/20200608/55645561994b805e43a74f9524f46063.jpg","course_id":11,"catelog_id":21},{"id":2,"name":"智力测试","image":"https://oss.bigchun.com/fastmemory/uploads/20200608/55645561994b805e43a74f9524f46063.jpg","course_id":11,"catelog_id":21}]
     */

    private int code;
    private String msg;
    private String time;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * name : 记忆力测试
         * image : https://oss.bigchun.com/fastmemory/uploads/20200608/55645561994b805e43a74f9524f46063.jpg
         * course_id : 11
         * catelog_id : 21
         */

        private int id;
        private String name;
        private String image;
        private String test_type;
        private int course_id;
        private int catelog_id;

        public String getTest_type() {
            return test_type;
        }

        public void setTest_type(String test_type) {
            this.test_type = test_type;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public int getCourse_id() {
            return course_id;
        }

        public void setCourse_id(int course_id) {
            this.course_id = course_id;
        }

        public int getCatelog_id() {
            return catelog_id;
        }

        public void setCatelog_id(int catelog_id) {
            this.catelog_id = catelog_id;
        }
    }
}

